import request from '@/utils/request'

export function list(params) {
  return request({
    url: '/quota/info/list',
    method: 'get',
    params
  })
}

export function get(id) {
  return request({
    url: '/quota/info/' + id,
    method: 'get'
  })
}

export function add(data) {
  return request({
    url: '/quota/info',
    method: 'post',
    data: data
  })
}

export function update(data) {
  return request({
    url: '/quota/info',
    method: 'put',
    data: data
  })
}

export function remove(ids) {
  return request({
    url: '/quota/info/' + ids,
    method: 'delete'
  })
}
